package com.qf.controller;

import com.qf.entity.GoodsSku;
import com.qf.entity.MallGoodsSku;
import com.qf.service.impl.GoodsSkuService;
import com.qf.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
    作者：Administrator
    时间：2021/9/27 0027 17:13
* */
@RestController
@RequestMapping("mallGoodsSku")
@CrossOrigin
public class MallGoodsSkuController {
    @Autowired
    private GoodsSkuService goodsSkuService;
    @RequestMapping("saveGoods")
    public Result saveGoods(@RequestBody GoodsSku goodsSku){
        Result result = goodsSkuService.saveSku(goodsSku);
        return result;
    }


}
